package smartcase.endpoints.api;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import smartcase.base.ApiResponse;
import smartcase.dto.request.UserAuthRequest;
import smartcase.dto.request.UserRegistryRequest;

import static smartcase.base.StandardKt.ok;

@RestController
@RequestMapping("/user")
public class UserEndpoints {

  @PostMapping("/auth")
  ApiResponse auth(@RequestBody UserAuthRequest request) {


    return ok();
  }

  @PostMapping("/registry")
  ApiResponse registry(@RequestBody UserRegistryRequest request) {
    return ok();
  }
}
